package com.hc.concurrent_likes.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 描述：说说实体类
 * @author JXR
 * @date 2022/11/14
 */
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class Mood {
    private String id;
    private String content;
    private String userId;
    private Date publishTime;
    private Integer praiseNum;

    public Mood(String id, String content, String userId, Date publishTime, Integer praiseNum) {
        this.id = id;
        this.content = content;
        this.userId = userId;
        this.publishTime = publishTime;
        this.praiseNum = praiseNum;
    }

    public Mood() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(Integer praiseNum) {
        this.praiseNum = praiseNum;
    }
}
